package com.cn.springcloudwechat.service.vaccinstation;


import com.cn.springcloudwechat.common.mybatis.Page;
import com.cn.springcloudwechat.model.vaccinestion.YmStationWorkVOrder;
import com.cn.springcloudwechat.model.vaccinestion.YmStationWorkVTime;
import com.cn.springcloudwechat.model.vaccinestion.YmVStation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VaccineStationService {

	/**
	 * 疫苗站新增
	 * @param ymVStation
	 * @param YmStationWorkVTime
	 */
	public void insertVaccineStationSer(YmVStation ymVStation, YmStationWorkVTime YmStationWorkVTime);

	/**
	 * 疫苗站修改
	 * @param ajaxRes
	 * @param ymVStation
	 * @param YmStationWorkVTime
	 * @return
	 */
	public void updateVaccineStationSer(YmVStation ymVStation, YmStationWorkVTime YmStationWorkVTime);
	/**
	 * 疫苗站读取
	 * @param ymVStation
	 * @param page
	 * @return
	 */
	public Page<YmVStation> queryVaccineStationSer(YmVStation ymVStation, Page<YmVStation> page);

	/**
	 * 疫苗站疫苗详情的新增(包括时间段和对应的疫苗)
	 * @param ymStationWorkVOrder
	 * @param parameter
	 */
	public void insertVaccineStationDetailSer(YmStationWorkVOrder ymStationWorkVOrder, String[] parameter);

	/**
	 * 查询某一个疫苗站疫苗(包括时间段和对应的疫苗)
	 * @param ymVStation
	 * @return
	 */
	public List<YmVStation> queryVaccineStationDetailSer(YmVStation ymVStation);
	
	/**
	 * 查询客户疫苗站
	 * @param ajaxRes
	 * @return
	 */
	public Page<YmVStation> queryVaccineUserSer(String stationName,String address,Page<YmVStation> page);

	/**
	 * 查询地区全部疫苗站
	 * @return
	 */
	public List<YmVStation> queryVaccineStationByAreaId( YmVStation ymVStation, Page<YmVStation> page);
	
}
